<template>
  <div id="home">
    <NaveHeader :testuserinfo="userInfo"></NaveHeader>
    <div class="container">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
  </div>
</template>
<script>
  import NaveHeader from '../components/NavHeader.vue'
  export default{
    components: {
      NaveHeader
    },
    data: () => {
      return {
        userInfo: {
          name: 'aaa',
          id: '123'
        }
      }
    }
  }
</script>
